package com.cc.dao;


import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Repository;

@Repository
public class BaseDao {
    @Value("${driver}")
    private String driver;
    @Value("${url}")
    private String url;
    @Value("${user}")
    private String user;
    @Value("${password}")
    private String password;

    public void showBaseDao(){
        System.out.println(driver + "---------" + url);
        System.out.println(user + "---------" + password);
    }
}
